package com.bruce.pattern.structural.flyweight;

import org.junit.Test;

/**
 * Created by bruce on 2018/11/4 21:17
 */
public class MainTest {

    @Test
    public void test1() {


        Employee rd1 = EmployeeFactory.getManager("RD");
        rd1.report();

        Employee rd2 = EmployeeFactory.getManager("RD");
        rd2.report();



    }


}
